package com.team.service;

import com.team.entity.Patient;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author asus
* @description 针对表【patient(病人表)】的数据库操作Service
* @createDate 2024-07-13 14:39:20
*/
public interface PatientService extends IService<Patient> {
    int addPatient(Patient patient);
    Patient getPatientById(String id);
    String hasMedicare(String idCard);
    Integer getPatientId(String idCard);
    List<Patient> getPatientBySickroomId(Integer sickroomId);
    int patientOut(Integer id);
}
